home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMXULLabelElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  4KB  |  118 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMXULLabelElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMXULLabelElement_h__
  6. #define __gen_nsIDOMXULLabelElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMXULDescriptionElement_h__
  10. #include "nsIDOMXULDescriptionElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMXULLabelElement */
  19. #define NS_IDOMXULLABELELEMENT_IID_STR "c987629e-6370-45f5-86ec-aa765fa861cd"
  20.  
  21. #define NS_IDOMXULLABELELEMENT_IID \
  22.   {0xc987629e, 0x6370, 0x45f5, \
  23.     { 0x86, 0xec, 0xaa, 0x76, 0x5f, 0xa8, 0x61, 0xcd }}
  24.  
  25. class NS_NO_VTABLE nsIDOMXULLabelElement : public nsIDOMXULDescriptionElement {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMXULLABELELEMENT_IID)
  29.  
  30.   /* attribute DOMString accessKey; */
  31.   NS_IMETHOD GetAccessKey(nsAString & aAccessKey) = 0;
  32.   NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) = 0;
  33.  
  34.   /* attribute DOMString control; */
  35.   NS_IMETHOD GetControl(nsAString & aControl) = 0;
  36.   NS_IMETHOD SetControl(const nsAString & aControl) = 0;
  37.  
  38. };
  39.  
  40. /* Use this macro when declaring classes that implement this interface. */
  41. #define NS_DECL_NSIDOMXULLABELELEMENT \
  42.   NS_IMETHOD GetAccessKey(nsAString & aAccessKey); \
  43.   NS_IMETHOD SetAccessKey(const nsAString & aAccessKey); \
  44.   NS_IMETHOD GetControl(nsAString & aControl); \
  45.   NS_IMETHOD SetControl(const nsAString & aControl); 
  46.  
  47. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  48. #define NS_FORWARD_NSIDOMXULLABELELEMENT(_to) \
  49.   NS_IMETHOD GetAccessKey(nsAString & aAccessKey) { return _to GetAccessKey(aAccessKey); } \
  50.   NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) { return _to SetAccessKey(aAccessKey); } \
  51.   NS_IMETHOD GetControl(nsAString & aControl) { return _to GetControl(aControl); } \
  52.   NS_IMETHOD SetControl(const nsAString & aControl) { return _to SetControl(aControl); } 
  53.  
  54. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  55. #define NS_FORWARD_SAFE_NSIDOMXULLABELELEMENT(_to) \
  56.   NS_IMETHOD GetAccessKey(nsAString & aAccessKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessKey(aAccessKey); } \
  57.   NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAccessKey(aAccessKey); } \
  58.   NS_IMETHOD GetControl(nsAString & aControl) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControl(aControl); } \
  59.   NS_IMETHOD SetControl(const nsAString & aControl) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetControl(aControl); } 
  60.  
  61. #if 0
  62. /* Use the code below as a template for the implementation class for this interface. */
  63.  
  64. /* Header file */
  65. class nsDOMXULLabelElement : public nsIDOMXULLabelElement
  66. {
  67. public:
  68.   NS_DECL_ISUPPORTS
  69.   NS_DECL_NSIDOMXULLABELELEMENT
  70.  
  71.   nsDOMXULLabelElement();
  72.  
  73. private:
  74.   ~nsDOMXULLabelElement();
  75.  
  76. protected:
  77.   /* additional members */
  78. };
  79.  
  80. /* Implementation file */
  81. NS_IMPL_ISUPPORTS1(nsDOMXULLabelElement, nsIDOMXULLabelElement)
  82.  
  83. nsDOMXULLabelElement::nsDOMXULLabelElement()
  84. {
  85.   /* member initializers and constructor code */
  86. }
  87.  
  88. nsDOMXULLabelElement::~nsDOMXULLabelElement()
  89. {
  90.   /* destructor code */
  91. }
  92.  
  93. /* attribute DOMString accessKey; */
  94. NS_IMETHODIMP nsDOMXULLabelElement::GetAccessKey(nsAString & aAccessKey)
  95. {
  96.     return NS_ERROR_NOT_IMPLEMENTED;
  97. }
  98. NS_IMETHODIMP nsDOMXULLabelElement::SetAccessKey(const nsAString & aAccessKey)
  99. {
  100.     return NS_ERROR_NOT_IMPLEMENTED;
  101. }
  102.  
  103. /* attribute DOMString control; */
  104. NS_IMETHODIMP nsDOMXULLabelElement::GetControl(nsAString & aControl)
  105. {
  106.     return NS_ERROR_NOT_IMPLEMENTED;
  107. }
  108. NS_IMETHODIMP nsDOMXULLabelElement::SetControl(const nsAString & aControl)
  109. {
  110.     return NS_ERROR_NOT_IMPLEMENTED;
  111. }
  112.  
  113. /* End of implementation class template. */
  114. #endif
  115.  
  116.  
  117. #endif /* __gen_nsIDOMXULLabelElement_h__ */
  118.